package com.cybertooth.dbconvenience.query.functions;

import com.cybertooth.dbconvenience.query.core.SqlTransformer;
import com.google.common.base.Function;

import javax.annotation.Nullable;

/**
 * <p></p>
 *
 * @author dnelson
 */
public class SqlTransformerFunction implements Function<SqlTransformer, String> {

	// ---------------------------------------------------------------Public Methods

	@Override
	public String apply(@Nullable SqlTransformer from) {
		return from.toSql();
	}
}
